//
//  UIScrollView+TRPullAndLoadMore.h
//  Travel
//
//  Created by Demon on 2017/9/16.
//  Copyright © 2017年 Demon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MJRefresh/MJRefresh.h>

@interface UIScrollView (TRPullAndLoadMore)

/**
 添加下拉刷新

 @param target target
 @param selector sel
 */
- (void)addHeadFresh:(id)target selector:(SEL)selector;

/**
 添加上拉加载

 @param target target
 @param selector sel
 */

- (void)addfooterFresh:(id)target selector:(SEL)selector;

- (void)endFresh;

@end
